From b6f1cfa1c3e27c81db389231de8abaa2b1780de0 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 5 Mar 2009 15:06:06 +0000 Subject: [PATCH] init script: Enable to run xend stop when dom0 shutdown Signed-off-by: Kazuhiro Suzuki --- tools/hotplug/Linux/init.d/xend | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/hotplug/Linux/init.d/xend b/tools/hotplug/Linux/init.d/xend index 4bfc799465..32dfc84132 100755 --- a/tools/hotplug/Linux/init.d/xend +++ b/tools/hotplug/Linux/init.d/xend @@ -39,11 +39,13 @@ function await_daemons_up case "$1" in start) + touch /var/lock/subsys/xend xend start await_daemons_up ;; stop) xend stop + rm -f /var/lock/subsys/xend ;; status) xend status -- 2.30.2